Skip to content

change callback strategy#4

Open
jormon wants to merge 1 commit intotra:masterfrom
jormon:callback
Open

change callback strategy#4
jormon wants to merge 1 commit intotra:masterfrom
jormon:callback

Conversation

@jormon
Copy link

@jormon jormon commented Jul 17, 2012

I found it annoying that the library changed what my callback functions were bound to, so I changed its behavior slightly. Instead of binding the callback function to the settings object, I pass in the settings object as the first parameter to the callback, allowing me to bind my callback function to whichever object I may choose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants